const {getOptions}=require('loader-utils');//cnpm i  loader-utils -D 可获取options配置
const {validate} = require('schema-utils');
const schema = require('../json/schema.json');
module.exports = function(content, map, meta) {
  //获取options
  const options=getOptions(this);
  //校验获取options是否合法
  validate(schema, options, {
    name:"loaderTest3"
  });
  console.log('loaderTest3333:',options)
  return content
}


module.exports.pitch=function(){
  console.log('pitch3333')
}